﻿using Models.DTO;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IOrderInfoBLL
    {
        List<GetOrderInfoDTO> GetOrderInfoH(int page, int limit, out int count);

        List<GetOrderInfoDTO> GetOrderInfo(int page, int limit, string customerId, out int count);

        List<GetOrderInfoDTO> GetOrderInfoTrue(int page, int limit, string customerId, out int count);

        bool DelOrderInfo(string id);

        bool DeleteOrderInfo(string id);

        bool CreateOrderInfo(OrderInfo orde, out string msg);

        bool DeleteListOrderInfo(List<string> ids);

        bool UpdateOrderInfo(OrderInfo orde, out string msg);

        object GetSelectOption();

        OrderInfo GetOrderInfoById(string id);
    }
}
